Skip to content

Conversation

@grepler
Copy link

@grepler grepler commented Jan 6, 2024

Two additions:

CUSTOM_UP_COMMAND

If CUSTOM_UP_COMMAND is included in .compose-cd, then instead of running the normal docker compose up -d command within the directory, an alternate command can be supplied.
This is useful when using a secrets manager or injecting other .envs.

Documentation on this use case has been added to the README.md.

SERVICE_UP_ONLY

If .compose-cd includes SERVICE_UP_ONLY=true, then docker compose will not bring down the containers.

This is useful for example if you are running traefik as a compose-cd managed stack, and it is also used to expose the secrets store (Vault, 1Password Connect, etc.. If you take the stack down then compose-cd will be unable to resolve the secrets needed to bring it back online.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant